﻿@{
    Layout = null;
    var plugName = @brand.admin.cyt369.com.Areas.BrandAdmin.Models.PlugName.Name;
    var not_id = this.Context.Request.Query["ID"];
}

<div class="easyui-layout" fit="true">
    <div data-options="region:'west',split:false,border:false" style="width:550px;">
        <form>
            <table class="form_table" border="0" style="width:100%">
                <tr>
                    <td width="160" align="right">上级类别：</td>
                    <td colspan="3">
                        <input name="Id" style="display:none" value="" />
                        <input id="ParentID" name="ParentID" class="easyui-combotree" style="width: 400px"
                               data-options="url:'~/@plugName/Category/GetCategoryByParentID_NoInclude',method:'get',editable:false,valueField:'Id',textField:'Name',required:true" />
                    </td>
                </tr>
                <tr>
                    <td align="right">类别名称：</td>
                    <td colspan="3">
                        <input name="CategoryName" class="easyui-textbox" style="width:400px;" data-options="required:true" />
                    </td>
                </tr>
                <tr>
                    <td align="right">类别说明：</td>
                    <td colspan="3">
                        <input name="Note" class="easyui-textbox" style="width:400px;" />
                    </td>
                </tr>
                <tr>
                    <td align="right">排序号：</td>
                    <td colspan="3">
                        <input name="OrderNumber" class="easyui-numberspinner" style="width:400px;" data-options="min:0,precision:0,value:'0'" />
                    </td>
                </tr>

            </table>
            <script>
                $('#ParentID').treegrid('append', {
                    data: [{
                        id: 0,
                        name: '无'
                    }]
                });
            </script>
        </form>
    </div>
</div>


